home *** CD-ROM | disk | FTP | other *** search
- /*
- $VER: Open.rexx 1.1 (20.10.99) Copyright (c) Nils Görs.
-
- Opens an drawer or starts an tool. I recommend to install this script as
- hotkey placed on the [RETURN] button.
- Using the argument YES will open a new drawer but root drawer become active
- window again.
- */
-
- options results
- PARSE ARG keeporig
-
- ADDRESS WORKBENCH
-
- GETATTR OBJECT WINDOWS.ACTIVE
- activewin = result
-
- MENU WINDOW activewin INVOKE ICONS.OPEN
-
- IF keeporig = "YES" THEN WINDOW WINDOWS activewin ACTIVATE
-